﻿using GamFi.API.Application.Contracts.Image.GetImageById;
using MediatR;

namespace GamFi.API.Application.Features.Queries.Image.GetImageById;

/// <summary>
/// Запрос на получение фотографии
/// </summary>
public class GetImageByIdQuery : IRequest<GetImageByIdResponse>
{
    /// <summary>
    /// Конструктор
    /// </summary>
    /// <param name="imageId">ИД картинки</param>
    public GetImageByIdQuery(Guid imageId)
        => ImageId = imageId;

    /// <summary>
    /// ИД картинки
    /// </summary>
    public Guid ImageId { get; set; }
}